import java.util.Date;

public class Report
{
	public Coordinate position;
	public long time;
	public String strategyName;
	public String configValue;
	
	public Report(Coordinate position, long time, String strategyName, String configValue)
	{
		this.position = position;
		this.time = time;
		this.strategyName = strategyName;
		this.configValue = configValue;
	}
	
	@Override
	public String toString()
	{
		StringBuilder builder = new StringBuilder();
		builder.append(position.toString());
		builder.append("\n");
		builder.append(new Date(this.time).toString());
		builder.append("\n");
		builder.append(strategyName);
		builder.append("\n");
		builder.append(configValue);
		return builder.toString();
	}
}